package net.service.impl;

import net.dao.UserDao;
import net.domain.User;
import net.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by zyh on 2017/2/27.
 */
@Service
public class UserServiceImpl implements UserService{

    @Resource
    private UserDao userDao;


    @Override
    public boolean findByUsernamePassword(String username, String password) {
        return userDao.findByUsernamePassword(username,password);
    }
}
